import axios  from "axios";
import {baseURL} from "@/utils/config.js";

const request = axios.create({
    baseURL: baseURL,
    timeout:5000
})

request.interceptors.response.use(res =>{
    return res.data
},err => Promise.reject(err))

export default request